package com.gof.example.chain;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/9 21:07.
 * haiming.fei@tongdun.cn
 */
public class Offwork {

    private Date startDay;
    private int days;

    public Offwork(Date startDay, int days) {
        this.startDay = startDay;
        this.days = days;
    }

    public Date getStartDay() {
        return startDay;
    }

    public void setStartDay(Date startDay) {
        this.startDay = startDay;
    }

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    @Override
    public String toString() {
        return "Offwork{" +
                "startDay=" + startDay +
                ", days=" + days +
                '}';
    }
}
